# coding:utf-8

# swapcase()函数 大写变小写，小写变大写
# info_one = 'python Code is Good'
# info_two = 'PYTHON DJANGO FLASK'
# info_three='python web so easy'
# info_one_new = info_one.swapcase()
# info_two_new = info_two.swapcase()
# info_three_new=info_three.swapcase()
# print(info_one_new)
# print(info_two_new)

# zfill()函数 补足宽度，填充0

info = "t was provisionally decided that the Zhuhai-Jiangmen section would start from Zhuhai\'s Hezhou Island, and pass through Hezhou Railway Station south of the Xianghai Bridge, above Guangdong Western Coastal Expressway, 365 Provincial Road, and Jiangmen-Zhuhai Expressway."
print(info.count('a'))
print(info.count('b'))